package com.yuyou.fn.crm.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * VIEW
 *
 */
@TableName(value = "crm_visit_detail")
public class VisitDetail implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<VisitDetail> createExample(){
		return new Example<VisitDetail>(VisitDetail.class);
	}

	/**  */
	@TableId(value = "visit_id")
	private Long visitId;

	/** 方式 0:电话 1:直访 2:other  */
	@TableField(value = "visit_way")
	@ApiModelProperty("方式 0:电话 1:直访 2:other")
	private Integer visitWay;

	/** 报读意愿 0:一般 1:强烈 2:无意愿  */
	@ApiModelProperty("报读意愿 0:一般 1:强烈 2:无意愿")
	@TableField(value = "will_reg_possible")
	private Integer willRegPossible;

	/** 意向年级名称 */
	@TableField(value = "will_reg_grade_name")
	@ApiModelProperty("意向年级名称")
	private String willRegGradeName;

	/** 意向年级科目 */
	@ApiModelProperty("意向年级科目")
	@TableField(value = "will_reg_subject_name")
	private String willRegSubjectName;

	/** 意向班型 */
	@TableField(value = "will_reg_reg_level")
	@ApiModelProperty("意向班型")
	private Integer willRegRegLevel;

	/** 回防内容 */
	@TableField(value = "visit_content")
	@ApiModelProperty("回访内容")
	private String visitContent;

	/** 是否到店 0:否 1:是  */
	@TableField(value = "is_came_to_campus")
	@ApiModelProperty("是否到店 0:否 1:是")
	private Integer isCameToCampus;

	/**  */
	@TableField(value = "visit_time")
	private Date visitTime;

	/** 回访人 */
	@TableField(value = "visit_operator_name")
	@ApiModelProperty("回访人")
	private String visitOperatorName;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	/** 学生姓名 */
	@TableField(value = "student_name")
	@ApiModelProperty("学生姓名")
	private String studentName;

	/** 电话号码 */
	@TableField(value = "phone_no")
	@ApiModelProperty("电话号码")
	private String phoneNo;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/** 区域组 */
	@TableField(value = "area_team_name")
	@ApiModelProperty("区域组")
	private String areaTeamName;

	/**  */
	@TableField(value = "will_reg_campus_id")
	private Long willRegCampusId;

	/** 分配校区 */
	@TableField(value = "will_reg_campus_name")
	@ApiModelProperty("分配校区")
	private String willRegCampusName;

	/**  */
	@TableField(value = "import_time")
	private Date importTime;

	/*抢占人id*/
	@TableField(value = "follow_operator_id")
	private Long followOperatorId;


	/** 抢占人 */
	@TableField(value = "follow_operator_name")
	@ApiModelProperty("抢占人")
	private String followOperatorName;

	/** 抢占时间 */
	@TableField(value = "follow_create_time")
	@ApiModelProperty("抢占时间")
	private Date followCreateTime;

	/** 分配人 */
	@TableField(value = "allo_operator_name")
	@ApiModelProperty("分配人")
	private String alloOperatorName;

	/** 分配时间 */
	@TableField(value = "allo_create_time")
	private Date alloCreateTime;

	/** 项目活动名称 */
	@TableField(value = "project_name")
	@ApiModelProperty("项目活动名称")
	private String projectName;

	/** 紧急程度 0:低 1:中 2:高 */
	@ApiModelProperty("紧急程度 0:低 1:中 2:高")
	private Integer priority;

	/** 学校 */
	@ApiModelProperty("学校")
	private String school;

	/** 在读年级名称 */
	@ApiModelProperty("在读年级名称")
	@TableField(value = "grade_name")
	private String gradeName;

	/** 学生编号 */
	@TableField(value = "student_no")
	private String studentNo;

	/** 学生报名班级 */
	@ApiModelProperty("学生报名班级")
	@TableField(value = "reg_class_amount")
	private Integer regClassAmount;

	@ApiModelProperty("首次成交科数")
	@TableField(value = "first_reg_num")
	private Integer firstRegNum;

	@ApiModelProperty("回收时间")
	@TableField(value = "recycle_time")
	private Date recycleTime;

	/*如果通过活动产生，对应的活动报名id*/
	@ApiModelProperty("如果通过活动产生，对应的活动报名id")
	@TableField("activity_reg_situation_id")
	private Long activityRegSituationId;

	/*活动签到状态，0 为签到，1签到*/
	@ApiModelProperty("活动签到状态，0 为签到，1签到")
	@TableField("sign_status")
	private Integer signStatus;

	public Long getVisitId() {
		return this.visitId;
	}

	public void setVisitId(Long visitId) {
		this.visitId = visitId;
	}

	public Integer getVisitWay() {
		return this.visitWay;
	}

	public void setVisitWay(Integer visitWay) {
		this.visitWay = visitWay;
	}

	public Integer getWillRegPossible() {
		return this.willRegPossible;
	}

	public void setWillRegPossible(Integer willRegPossible) {
		this.willRegPossible = willRegPossible;
	}

	public String getWillRegGradeName() {
		return this.willRegGradeName;
	}

	public void setWillRegGradeName(String willRegGradeName) {
		this.willRegGradeName = willRegGradeName;
	}

	public String getWillRegSubjectName() {
		return this.willRegSubjectName;
	}

	public void setWillRegSubjectName(String willRegSubjectName) {
		this.willRegSubjectName = willRegSubjectName;
	}

	public Integer getWillRegRegLevel() {
		return this.willRegRegLevel;
	}

	public void setWillRegRegLevel(Integer willRegRegLevel) {
		this.willRegRegLevel = willRegRegLevel;
	}

	public String getVisitContent() {
		return this.visitContent;
	}

	public void setVisitContent(String visitContent) {
		this.visitContent = visitContent;
	}

	public Integer getIsCameToCampus() {
		return this.isCameToCampus;
	}

	public void setIsCameToCampus(Integer isCameToCampus) {
		this.isCameToCampus = isCameToCampus;
	}

	public Date getVisitTime() {
		return this.visitTime;
	}

	public void setVisitTime(Date visitTime) {
		this.visitTime = visitTime;
	}

	public String getVisitOperatorName() {
		return this.visitOperatorName;
	}

	public void setVisitOperatorName(String visitOperatorName) {
		this.visitOperatorName = visitOperatorName;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public String getAreaTeamName() {
		return this.areaTeamName;
	}

	public void setAreaTeamName(String areaTeamName) {
		this.areaTeamName = areaTeamName;
	}

	public Long getWillRegCampusId() {
		return this.willRegCampusId;
	}

	public void setWillRegCampusId(Long willRegCampusId) {
		this.willRegCampusId = willRegCampusId;
	}

	public String getWillRegCampusName() {
		return this.willRegCampusName;
	}

	public void setWillRegCampusName(String willRegCampusName) {
		this.willRegCampusName = willRegCampusName;
	}

	public Date getImportTime() {
		return this.importTime;
	}

	public void setImportTime(Date importTime) {
		this.importTime = importTime;
	}

	public String getFollowOperatorName() {
		return this.followOperatorName;
	}

	public void setFollowOperatorName(String followOperatorName) {
		this.followOperatorName = followOperatorName;
	}

	public Date getFollowCreateTime() {
		return this.followCreateTime;
	}

	public void setFollowCreateTime(Date followCreateTime) {
		this.followCreateTime = followCreateTime;
	}

	public String getAlloOperatorName() {
		return this.alloOperatorName;
	}

	public void setAlloOperatorName(String alloOperatorName) {
		this.alloOperatorName = alloOperatorName;
	}

	public Date getAlloCreateTime() {
		return this.alloCreateTime;
	}

	public void setAlloCreateTime(Date alloCreateTime) {
		this.alloCreateTime = alloCreateTime;
	}

	public String getProjectName() {
		return this.projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public Integer getPriority() {
		return this.priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public String getStudentNo() {
		return this.studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}

	public Integer getRegClassAmount() {
		return this.regClassAmount;
	}

	public void setRegClassAmount(Integer regClassAmount) {
		this.regClassAmount = regClassAmount;
	}

	public Long getFollowOperatorId() {
		return followOperatorId;
	}

	public void setFollowOperatorId(Long followOperatorId) {
		this.followOperatorId = followOperatorId;
	}

	public Integer getFirstRegNum() {
		return firstRegNum;
	}

	public void setFirstRegNum(Integer firstRegNum) {
		this.firstRegNum = firstRegNum;
	}

	public Date getRecycleTime() {
		return recycleTime;
	}

	public void setRecycleTime(Date recycleTime) {
		this.recycleTime = recycleTime;
	}

	public Long getActivityRegSituationId() {
		return activityRegSituationId;
	}

	public void setActivityRegSituationId(Long activityRegSituationId) {
		this.activityRegSituationId = activityRegSituationId;
	}

	public Integer getSignStatus() {
		return signStatus;
	}

	public void setSignStatus(Integer signStatus) {
		this.signStatus = signStatus;
	}
}
